package cn.coisini.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * @author xiangshaw
 * Description: 阿里云OSS配置
 */
@Data
@Configuration
@ConfigurationProperties(prefix = "aliyun.oss")
public class AliOssConfig {
    /**
     * 地区
     */
    private String endpoint;
    /**
     * 凭证ID
     */
    private String accessKeyId;
    /**
     * 凭证密钥
     */
    private String accessKeySecret;
    /**
     * 存储空间
     */
    private String bucketName;
}
